<#assign className = model.className>
<#assign classNameLower = className?uncap_first>
package ${basepackage}.${moduleName}.service;

import java.util.Map;
import java.util.List;

import tso.dao.Page;
import ${basepackage}.${moduleName}.model.${className};
import tso.dao.IBaseDao;
import tso.lang.*;
import tso.service.IBaseService;
/**
 * ${model.tableAlias} Service接口
 * @author codeGener
 * @version 1.0
 * @created ${now?string("yyyy-MM-dd HH:mm")}
 */
public interface I${model.className}Service extends IBaseService{
	<#if !model.fatherClazz??>
	<#if pageable==true>
	Page find${className}PageBySearch(Map<String,Object> paramMap,int pageNumber,int pageSize);
	<#else>
	List find${className}ListBySearch(Map<String,Object> paramMap);
	</#if>
	</#if>
	
	
<#if model.subClazzes?size==0>
	void save${className}(${className} ${classNameLower});
<#else>
	void save${className}(${className} ${classNameLower}
<#list model.subClazzes as subClazz>,List<${subClazz.className}> lst${subClazz.className},String[] del${subClazz.className}Ids</#list>);
</#if>
	
	void remove${className}(String[] ids);
}